package zuwotest;

import javax.annotation.Resource;

import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import cn.diancan.service.BrandService;
import cn.diancan.service.ColorService;
import cn.diancan.service.GoodsCategoryService;
import cn.diancan.service.GoodsService;
import cn.diancan.service.ProductService;
import cn.diancan.service.PurchaseSaleOrderBuyCarService;
import cn.diancan.service.PurchaseSaleOrderService;
import cn.diancan.service.ShopClerkService;
import cn.diancan.service.SpecificationService;

 

//整合
@RunWith(SpringJUnit4ClassRunner.class) 
@ContextConfiguration(locations = "classpath:beans.xml")// 加载配置 
public class BaseTest {
 
    @Resource
    protected ProductService productService;
    
    @Resource
    protected GoodsCategoryService goodsCategoryService;
    
    @Resource
    protected BrandService brandService;
    
    @Resource
    protected ColorService colorService;
    
    @Resource
    protected SpecificationService specificationService;
    
    @Resource
    protected GoodsService goodsService;
    
    @Resource
    protected PurchaseSaleOrderService purchaseSaleOrderService;
    
    @Resource
    protected PurchaseSaleOrderBuyCarService purchaseSaleOrderBuyCarService;
    
    @Resource
    protected ShopClerkService shopClerkService;
   
    
}